package cn.micro.keep.accounts.service;

import cn.micro.keep.accounts.entity.AccountOdsShareGroupRequestJoinRecord;
import cn.micro.keep.accounts.entity.dto.ReplyJoinGroupDTO;
import cn.micro.keep.accounts.entity.dto.RequestJoinGroupSearch;
import cn.micro.keep.accounts.entity.dto.ShareGroupRequestDTO;
import cn.micro.keep.accounts.entity.vo.RequestJoinGroupVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 邀请加入组别记录表 服务类
 * </p>
 *
 * @author 柘阳科技
 * @since 2023-11-10
 */
public interface AccountOdsShareGroupRequestJoinRecordService extends IService<AccountOdsShareGroupRequestJoinRecord> {

    boolean requestJoinGroup(ShareGroupRequestDTO dto);

    boolean replyJoinGroup(ReplyJoinGroupDTO dto);

    List<RequestJoinGroupVO> listAcceptRequestJoinGroup(RequestJoinGroupSearch search);
}
